import java.net.*;
import java.rmi.*;
public class CalculatorClient {
	
	public static void main(String args[]) throws RemoteException, MalformedURLException, NotBoundException {
	 	 
		Calculator calc=(Calculator)Naming.lookup("rmi://localhost/calc");
		System.out.print("9 per 9 fa "+calc.multiply(9,9));
		
	 }
}